package cn.liontalk.ProxyPattern.pattern4;

public class LOLPlayerProxy implements ILOLPlayer {

    private ILOLPlayer ilolPlayer;
    public LOLPlayerProxy(LOLPlayer playerLayer) {
        this.ilolPlayer = playerLayer;
    }
    @Override
    public void login(String name, String password) {
        this.ilolPlayer.login(name, password);
    }

    @Override
    public void pentaKill() {
        this.ilolPlayer.pentaKill();
    }

    @Override
    public void victory() {
        this.ilolPlayer.victory();
    }
}
